package com.jeeplus.modules.kpi.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.common.persistence.Page;
import com.jeeplus.common.service.CrudService;
import com.jeeplus.modules.kpi.entity.Achievement;
import com.jeeplus.modules.kpi.dao.AchievementDao;

/**
 * 绩效考核办法Service
 * @author wangkai
 * @version 2017-12-20
 */
@Service
@Transactional(readOnly = true)
public class AchievementService extends CrudService<AchievementDao, Achievement> {

	public Achievement get(String id) {
		return super.get(id);
	}
	
	public List<Achievement> findList(Achievement achievement) {
		return super.findList(achievement);
	}
	
	public Page<Achievement> findPage(Page<Achievement> page, Achievement achievement) {
		return super.findPage(page, achievement);
	}
	
	@Transactional(readOnly = false)
	public void save(Achievement achievement) {
		super.save(achievement);
	}
	
	@Transactional(readOnly = false)
	public void delete(Achievement achievement) {
		super.delete(achievement);
	}
	
	
	
	
}